import {
    AppstoreOutlined,
    MenuUnfoldOutlined,
    MenuFoldOutlined,
    PieChartOutlined,
    DesktopOutlined,
    ContainerOutlined,
    MailOutlined,
    UserOutlined,
    EnvironmentOutlined
  } from '@ant-design/icons';

export const routerList = [
    {
        title:"首页",
        path:"/main/home",
        icon:<AppstoreOutlined/> ,
        premisssion:0   // 权限
    },
    {
        title:"员工管理",
        path:"/main/user",
        icon:<UserOutlined/> ,
        premisssion:1,  
        children:[
            {
                title:"员工账号信息",
                path:"/main/user/list",
                icon:<UserOutlined/> ,
                premisssion:1   // 权限
            },
            {
                title:"员工个人信息",
                path:"/main/user/infolist",
                icon:<UserOutlined/> ,
                premisssion:1   // 权限
            },
            {
                title:"员工信息分析",
                path:"/main/user/fenxi",
                icon:<UserOutlined/> ,
                premisssion:1   // 权限
            },
        ],
       
    },
    {
        title:"薪资管理",
        path:"/main/salary",
        icon:<PieChartOutlined/> ,
        premisssion:0,   // 权限
        children:[
            {
                title:"薪资列表",
                path:"/main/salary/list",
                icon:<PieChartOutlined/> ,
                premisssion:0   // 权限
            },
            {
                title:"薪资分析",
                path:"/main/salary/fenxi",
                icon:<PieChartOutlined/> ,
                premisssion:0   // 权限
            },
        ],
    },
    {
        title:"意见管理",
        path:"/main/advise",
        icon:<DesktopOutlined/> ,
        premisssion:0,   // 权限
        children:[
            {
                title:"意见列表",
                path:"/main/advise/list",
                icon:<DesktopOutlined/> ,
                premisssion:0   // 权限
            },
            {
                title:"意见分析",
                path:"/main/advise/fenxi",
                icon:<DesktopOutlined/> ,
                premisssion:1   // 权限
            },
        ],
    },
    {
        title:"通知管理",
        path:"/main/notice",
        icon:<ContainerOutlined/> ,
        premisssion:0,   // 权限
        children:[
            {
                title:"添加通知",
                path:"/main/notice/create",
                icon:<ContainerOutlined/> ,
                premisssion:3   // 权限
            },
            {
                title:"通知列表",
                path:"/main/notice/list",
                icon:<ContainerOutlined/> ,
                premisssion:0   // 权限
            },
        ],
    },
    {
        title:"个人中心",
        path:"/main/mine",
        icon:<MailOutlined/> ,
        premisssion:0   // 权限
    },
    {
        title:"我们在哪",
        path:"/main/map",
        icon:<EnvironmentOutlined /> ,
        premisssion:0   // 权限
    },
]   